<form role="form" action="{$url}/{$module}/{$controller}/add" class="margin-bottom-default" method="post">

    <div class="box-body">
        @info_required
        @form_groups
    </div>

    {if empty($action_type) or $action_type == "save"}
        @input_status
        <input type="hidden" name="action_type" value="save" >
    {else}
        <input type="hidden" name="id" value="{$data->id}" >
        <input type="hidden" name="action_type" value="update" >
    {/if}

    <div class="box-footer">
        <button type="submit" class="btn btn-success btn-flat">Salvar</button>
        <button type="reset" class="btn btn-primary btn-flat">Limpar</button>
    </div>

</form>